// 登录相关接口
import { post } from '@/utils/request'

// 登录的公共URL前缀
let BASE_URL = '/common/auth'

const auth = {
  login: (data) => post(BASE_URL + '/login', data),
  logout: (data) => post(BASE_URL + '/logout', data)
}
export default auth
